package ysu.sxm.ptjc.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Description  
 * @Author  baodan_Fan 
 * @Date 2021-01-07 
 */

@Getter
@Setter
@ToString
@NoArgsConstructor
@EqualsAndHashCode
@Entity
@Table ( name ="produce_info" )
public class ProduceInfo  implements Serializable {
	private static final long serialVersionUID =  8527064186804930569L;

	/**
	 * 产品id
	 */
	@Id
	private Long produceId;

	/**
	 * 产品类型

	 */
   	@Column(name = "produce_type" )
	private String produceType;

	/**
	 * 产品编号
	 */
   	@Column(name = "produce_num" )
	private String produceNum;

	/**
	 * 线别

	 */
   	@Column(name = "line_id" )
	private Long lineId;

	/**
	 * 生产日期
	 */
   	@Column(name = "produce_date" )
	private Timestamp produceDate;

	/**
	 * 组别
	 */
   	@Column(name = "group" )
	private Long group;

	/**
	 * 产品名称

	 */
   	@Column(name = "produce_name" )
	private String produceName;

	public Long getProduceId() {
		return this.produceId;
	}

	public void setProduceId(Long produceId) {
		this.produceId = produceId;
	}

	public String getProduceType() {
		return this.produceType;
	}

	public void setProduceType(String produceType) {
		this.produceType = produceType;
	}

	public String getProduceNum() {
		return this.produceNum;
	}

	public void setProduceNum(String produceNum) {
		this.produceNum = produceNum;
	}

	public Long getLineId() {
		return this.lineId;
	}

	public void setLineId(Long lineId) {
		this.lineId = lineId;
	}

	public Timestamp getProduceDate() {
		return this.produceDate;
	}

	public void setProduceDate(Timestamp produceDate) {
		this.produceDate = produceDate;
	}

	public Long getGroup() {
		return this.group;
	}

	public void setGroup(Long group) {
		this.group = group;
	}

	public String getProduceName() {
		return this.produceName;
	}

	public void setProduceName(String produceName) {
		this.produceName = produceName;
	}

}
